package com.gf.gf_data.entity;

import java.util.Date;

public class LoginRecord {

    private Long id;

    private Long accountId;

    private String tokenValue;

    private Integer status;

    private Date loginTime;

    private Date logoutTime;

    public LoginRecord() {
    }

    public LoginRecord(Long accountId, String tokenValue, Integer status, Date loginTime) {
        this.accountId = accountId;
        this.tokenValue = tokenValue;
        this.status = status;
        this.loginTime = loginTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAccountId() {
        return accountId;
    }

    public void setAccountId(Long accountId) {
        this.accountId = accountId;
    }

    public String getTokenValue() {
        return tokenValue;
    }

    public void setTokenValue(String tokenValue) {
        this.tokenValue = tokenValue == null ? null : tokenValue.trim();
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(Date loginTime) {
        this.loginTime = loginTime;
    }

    public Date getLogoutTime() {
        return logoutTime;
    }

    public void setLogoutTime(Date logoutTime) {
        this.logoutTime = logoutTime;
    }
}